package com.qianli.cashmama.trade.client.trade.request;

import com.fqgj.common.api.ParamsObject;

import java.util.Date;

/**
 * 签名回调
 *
 * @author liuming
 * Created on 上午10:50 2018/8/10.
 */
public class SignCallbackRequest extends ParamsObject {
    /**
     * 交易号
     */
    private String tradeNo;

    /**
     * 签名是否成功
     */
    private boolean signSuccess;
    /**
     * aadhaar virtual id
     */
    private String vid;
    /**
     * digio agreement id
     */
    private String documentId;
    /**
     * 合同地址
     */
    private String contractUrl;
    /**
     * 签约日期
     */
    private Date signDate;
    /**
     * 资金方（在api电子签生成pdf时 调用pay的接口获取）
     */
    private Integer capitalCode;

    /**
     * 是否提额
     */
    private boolean raiseQuota;
    /**
     * 产品code
     */
    private String productCode;


    public String getContractUrl() {
        return contractUrl;
    }

    public SignCallbackRequest setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
        return this;
    }

    public Date getSignDate() {
        return signDate;
    }

    public SignCallbackRequest setSignDate(Date signDate) {
        this.signDate = signDate;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public SignCallbackRequest setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getVid() {
        return vid;
    }

    public SignCallbackRequest setVid(String vid) {
        this.vid = vid;
        return this;
    }

    public String getDocumentId() {
        return documentId;
    }

    public SignCallbackRequest setDocumentId(String documentId) {
        this.documentId = documentId;
        return this;
    }

    public boolean isSignSuccess() {
        return signSuccess;
    }

    public SignCallbackRequest setSignSuccess(boolean signSuccess) {
        this.signSuccess = signSuccess;
        return this;
    }

    public Integer getCapitalCode() {
        return capitalCode;
    }

    public SignCallbackRequest setCapitalCode(Integer capitalCode) {
        this.capitalCode = capitalCode;
        return this;
    }

    public boolean isRaiseQuota() {
        return raiseQuota;
    }

    public SignCallbackRequest setRaiseQuota(boolean raiseQuota) {
        this.raiseQuota = raiseQuota;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public SignCallbackRequest setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    @Override
    public void validate() {
    }
}
